package com.stx.chat.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import java.util.Date;

@Data
public class Message {

    private Integer id;
    private String content;
    private User user;
    @JsonIgnore
    private Chat chat;
    private Date addtime;

}
